<template>
    <div>
        <user-nav text="余额提现记录" icon="#icon-card" color="#BF2071" @click.native="routerCash('1')"></user-nav>
        <div class="line"></div>
        <user-nav text="余额转账记录" icon="#icon-zhuanzhang" color="#BF2071" @click.native="routerCash('6')"></user-nav>
        <div class="line"></div>
        <user-nav text="余额支付记录" icon="#icon-money" color="#BF2071" @click.native="routerCash('5')"></user-nav>
        <div class="line"></div>
        <user-nav text="累计收益记录" icon="#icon-my_order1" color="#BF2071" @click.native="routerCash('2')"></user-nav>
        <div class="line"></div>
        <user-nav text="未到账记录" icon="#icon-money1" color="#1296DB" @click.native="routerCashSec('3')"></user-nav>
        <div class="line"></div>
    </div>
</template>
<div>
</div>
<script>
    import userNav from '../../components/common/userNav';

    export default {
        /**
         */
        name: "capitalRecord",
        components: {userNav},
        data() {
            return {};
        },
        created() {
        },
        methods: {
            routerCashSec(type) {
                //    未到账记录
                this.$router.push({
                    name: 'cash_with_record',
                    query: {
                        type: type
                    }
                });
            },
            routerCash(type) {
                //    余额转账记录
                this.$router.push({
                    name: 'trans_accounts_record',
                    query: {
                        type: type
                    }
                });
            },
        },

    };
</script>

<style scoped lang="stylus" rel="stylesheet/stylus">
    @import '~assets/main.styl'
</style>